24. Backbone's Fragment Count Quiz

Backbone's Fragment Count Quiz

Backbone's Fragment Count Quiz

It's best to test this in the browser with DevTools. But if you'd rather read the source code, Backbone's annotated source will help.

QUESTION:

How many times is Backbone's getFragment method called?

SOLUTION:

NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer

Which Backbone method(s) is it called from? Select all that apply:

SOLUTION:
  • checkUrl
  • loadUrl

Solution

Backbone's Fragment Count Solution